<!DOCTYPE html>
<html lang="zh-CN">

<head>

  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">

  <title>9 - 小横线菜单 (HTML+CSS+JS)</title>

  <link rel="stylesheet" href="./css/index.css">

</head>

<body>

  <div class="box">
    <!-- 主要部分就是 nav，其他的无所谓 -->
    <nav>
      <div class="line"></div>

      <a href="#">首页</a>
      <a href="#">分享</a>
      <a href="#">作品</a>
      <a href="#">团队</a>
      <a href="#">联系我们</a>
    </nav>

    <div class="main-box">👆🏻小横线菜单</div>
  </div>



  <script src="./js/index.js"></script>

</body>

</html>